package model.v1;

import annotation.ShowInfo;
import com.google.gson.annotations.Expose;
import model.MibNode;

import java.util.List;

public class MibObjectTypeNodeV1 extends MibNode {
    public static class NamedBit{
        public String identifier;
        public int number;

        public NamedBit(String identifier, int number) {
            this.identifier = identifier;
            this.number = number;
        }
    }

    public static class DefValPart{
        public String defvalue;
        public List<String> bitsValue;
    }
    @Expose
    @ShowInfo(name = "类型")
    public String syntax;
    @Expose
    @ShowInfo(name = "单位")
    public String unit;
    @Expose
    @ShowInfo(name = "权限")
    public String access;
    @Expose
    @ShowInfo(name = "状态")
    public String status;
    @Expose
    public String reference;
    @Expose
    public List<NamedBit> namedBits;
    public List<String> indexTypes;
    public DefValPart defValPart;
}
